home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Prog
/
Q-R
/
ResTools.cpt
/
ResTools
/
ResTools 1.1.rsrc
/
HTXT_6_User Defined Resources_
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1987-06-05
|
439 b
|
16 lines
Arbitrary resources can also be defined. They use a syntax similiar to the
following example. The data of the resource requires that you define a series
of data types followed by their contents.
userdefined resource 'MUDB' (134)
{
pstring: "this is a pascal string";
cstring: "this is a c string";
string: "C String without trailing null";
integer: 1;
long: 2;
byte: 3;
point: { 23, 145};
rectangle: {1,34,56,78};
};